home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / bash_114.zip / bash-1.14.2 / execute_cmd.h < prev    next >
C/C++ Source or Header  |  1994-03-10  |  2KB  |  48 lines

  1. /* execute_cmd.h - functions from execute_cmd.c. */
  2.  
  3. /* Copyright (C) 1993 Free Software Foundation, Inc.
  4.  
  5.    This file is part of GNU Bash, the Bourne Again SHell.
  6.  
  7.    Bash is free software; you can redistribute it and/or modify it under
  8.    the terms of the GNU General Public License as published by the Free
  9.    Software Foundation; either version 2, or (at your option) any later
  10.    version.
  11.  
  12.    Bash is distributed in the hope that it will be useful, but WITHOUT ANY
  13.    WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14.    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15.    for more details.
  16.  
  17.    You should have received a copy of the GNU General Public License along
  18.    with Bash; see the file COPYING.  If not, write to the Free Software
  19.    Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  20.  
  21. #if !defined (_EXECUTE_CMD_H_)
  22. #define _EXECUTE_CMD_H_
  23.  
  24. #include "stdc.h"
  25.  
  26. extern struct fd_bitmap *new_fd_bitmap __P((long));
  27. extern void dispose_fd_bitmap __P((struct fd_bitmap *));
  28. extern void close_fd_bitmap __P((struct fd_bitmap *));
  29. extern int execute_command __P((COMMAND *));
  30. extern int execute_command_internal __P((COMMAND *, int, int, int, struct fd_bitmap *));
  31. extern int shell_execve __P((char *, char **, char **));
  32. extern char *redirection_expand __P((WORD_DESC *));
  33. extern int file_status __P((char *));
  34. extern int executable_file __P((char *));
  35. extern char *find_user_command __P((char *));
  36. extern char *find_path_file __P((char *));
  37. extern char *user_command_matches __P((char *, int, int));
  38. extern int same_file __P((char *, char *, struct stat *, struct stat *));
  39. extern char *extract_colon_unit __P((char *, int *));
  40. extern int check_binary_file __P((unsigned char *, int));
  41. extern void setup_async_signals __P((void));
  42.  
  43. #if defined (PROCESS_SUBSTITUTION)
  44. extern void close_all_files __P((void));
  45. #endif
  46.  
  47. #endif /* _EXECUTE_CMD_H_ */
  48.